package com.ym.b2b.user.sqlbean;

import java.io.Serializable;
import java.util.Date;

public class EmCUser implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private Long              userId;//用户ID

    private String            userName;//用户名字

    private Integer           userType;//1厂家  2药店   3 业务员

    private String            email;//电子邮箱

    private String            qq;//QQ号码

    private String            address;//地址

    private String            mobilePhone;//移动电话

    private String            telePhone;//座机

    private String            postcode;//邮编

    private String            notes;//备注

    private String            linkman;//联系人

    private Long              updateUserId;//更新用户ID

    private Date              updateDate;//更新日期

    private Date              lastLoginTime;//当前登陆时间

    private Long              loginError;//登陆失败次数

    private Integer           isValid;//-99删除，0 刚注册1审核2锁定

    private String            loginName;//登陆名
    
    private String            oldLoginPwd;//旧密码

    private String            loginPwd;//密码

    private String            extendCode;//继承企业code编码
    
    private String            logoPic;//头像

    private Integer           bindingType;//绑定类型,可选 0  需要   99 不需要

    private Integer           bindingNum;//允许的绑定数量 默认2个

    private Integer           isBinding;//是否已绑定 0 未帮 1 已绑

    private Integer           loginAmount;//登陆次数

    private Integer           bindingNowNum;//已绑个数

    private Date              queryStart;//如果是厂家   表示查询开始日期(是否有用？？？？

    private Date              queryEnd;//结束日期(是否有用？？？？？)

    private Date              befroeLoginTime;//上一次登陆时间
    private Integer           validMobile;//
    private Integer           validIdentity;//
    private Integer           validEmail;//

    private String            userIdList;
    private String            lastUrl;              // 上一次访问的URL
    private String            validCode;            // 验证码
    private String            validCodeSession;
    private String            loginFrom;            // 从哪里登陆

    public String getUserIdList() {
        return userIdList;
    }

    public void setUserIdList(String userIdList) {
        this.userIdList = userIdList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getTelePhone() {
        return telePhone;
    }

    public void setTelePhone(String telePhone) {
        this.telePhone = telePhone;
    }

    public String getOldLoginPwd() {
        return oldLoginPwd;
    }

    public void setOldLoginPwd(String oldLoginPwd) {
        this.oldLoginPwd = oldLoginPwd;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public String getLoginFrom() {
        return loginFrom;
    }

    public void setLoginFrom(String loginFrom) {
        this.loginFrom = loginFrom;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Long getLoginError() {
        return loginError;
    }

    public void setLoginError(Long loginError) {
        this.loginError = loginError;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getExtendCode() {
        return extendCode;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public void setExtendCode(String extendCode) {
        this.extendCode = extendCode;
    }

    public String getLogoPic() {
        return logoPic;
    }

    public void setLogoPic(String logoPic) {
        this.logoPic = logoPic;
    }

    public Date getQueryStart() {
        return queryStart;
    }

    public void setQueryStart(Date queryStart) {
        this.queryStart = queryStart;
    }

    public Date getQueryEnd() {
        return queryEnd;
    }

    public void setQueryEnd(Date queryEnd) {
        this.queryEnd = queryEnd;
    }

    public Date getBefroeLoginTime() {
        return befroeLoginTime;
    }

    public void setBefroeLoginTime(Date befroeLoginTime) {
        this.befroeLoginTime = befroeLoginTime;
    }

    public Integer getBindingType() {
        return bindingType;
    }

    public void setBindingType(Integer bindingType) {
        this.bindingType = bindingType;
    }

    public Integer getBindingNum() {
        return bindingNum;
    }

    public void setBindingNum(Integer bindingNum) {
        this.bindingNum = bindingNum;
    }

    public Integer getIsBinding() {
        return isBinding;
    }

    public void setIsBinding(Integer isBinding) {
        this.isBinding = isBinding;
    }

    public Integer getLoginAmount() {
        return loginAmount;
    }

    public void setLoginAmount(Integer loginAmount) {
        this.loginAmount = loginAmount;
    }

    public Integer getBindingNowNum() {
        return bindingNowNum;
    }

    public void setBindingNowNum(Integer bindingNowNum) {
        this.bindingNowNum = bindingNowNum;
    }

    public String getLastUrl() {
        return lastUrl;
    }

    public void setLastUrl(String lastUrl) {
        this.lastUrl = lastUrl;
    }

    public Integer getValidMobile() {
        return validMobile;
    }

    public void setValidMobile(Integer validMobile) {
        this.validMobile = validMobile;
    }

    public Integer getValidIdentity() {
        return validIdentity;
    }

    public void setValidIdentity(Integer validIdentity) {
        this.validIdentity = validIdentity;
    }

    public Integer getValidEmail() {
        return validEmail;
    }

    public void setValidEmail(Integer validEmail) {
        this.validEmail = validEmail;
    }

    public String getValidCodeSession() {
        return validCodeSession;
    }

    public void setValidCodeSession(String validCodeSession) {
        this.validCodeSession = validCodeSession;
    }

}
